package com.megvii.koala.constance;

import java.util.HashMap;

/**
 * Created by taozheng on 16/3/30.
 */
public class GenderType {
    public static final String[] GENDER = new String[]{"未选择", "男", "女"};

    public static final HashMap<String, Integer> GENDER_REVERSE_MAP;

    public static final int GENDER_NONE = 0;

    public static final int GENDER_MAN = 1;

    public static final int GENDER_WOMAN = 2;

    static
    {
        GENDER_REVERSE_MAP = new HashMap<>();
        for (int i = 0; i < GENDER.length; i++)
        {
            GENDER_REVERSE_MAP.put(GENDER[i], i);
        }
    }
}
